﻿<div>

<h2>JavaScript 代码：</h2>
<textarea name="dp-syntaxhighlighter" class="brush: js; highlight: [8]" >
    
        $(function () {
            $("#Button1").click(function () {
                $.easyui.showDialog({
                    title: "快速创建的 Dialog1",
                    top: 130, left: 170, width: 1000, height: 600,
                    topMost: false,
                    href: "/",
                    iniframe: true
                });
            });

            $("#Button2").click(function () {
                $.easyui.showDialog({
                    title: "快速创建的 Dialog2",
                    top: 130, left: 170, width: 600, height: 400,
                    topMost: false,
                    href: "dialog/easy/useiframe/iframepage.html",
                    iniframe: true
                });
            });
        });

</textarea>
<h2>HTML 代码：</h2>
<textarea name="dp-syntaxhighlighter" class="brush: html; highlight: []" >
    
    <input id="Button1" type="button" value="创建Dialog1" />
    <input id="Button2" type="button" value="创建Dialog2" />

</textarea>


</div>